<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en">
	<body>
		<ui:component id="loginPanel">
			<h:form rendered="true" prependId="false" id="htmlauth">
				<h3>
					Por gentileza, entre seu login
				</h3>
				<table>
					<tr>
						<td colspan="2">
							<h:messages />
						</td>
					</tr>
					<tr>
						<td>
							Login:
						</td>
						<td>
							<h:inputText id="j_username" required="true" value="#{userLogin.userLogin}" />
							<h:message for="j_username" />
						</td>
					</tr>
					<tr>
						<td>
							Password:
						</td>
						<td>
							<h:inputSecret id="j_password" required="true" value="#{userLogin.password}" />
							<h:message for="j_password" />
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<h:commandButton value="Login" action="#{loginManager.makeLogin}" />
						</td>
					</tr>
				</table>
			</h:form>
		</ui:component>
	</body>
</html>
